package cn.fws.meap.user.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fws.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 浏览记录表 meap_browse
 * 
 * @author chenkh
 * @date 2019-03-07
 */
public class Browse extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private String id;
	/** 文章类型 */
	private String articleType;
	/** 文章id */
	private String articleId;
	/** 用户id */
	private String openid;
	/** 作者id */
	private String authorId;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}
	public void setArticleType(String articleType) {
		this.articleType = articleType;
	}

	public String getArticleType() {
		return articleType;
	}
	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public String getArticleId() {
		return articleId;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}
	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}

	public String getAuthorId() {
		return authorId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleType", getArticleType())
            .append("articleId", getArticleId())
            .append("openid", getOpenid())
            .append("authorId", getAuthorId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
